//
//  ChildViewCell01.m
//  PosApp
//
//  Created by 刘萍 on 2018/9/13.
//  Copyright © 2018年 李英新. All rights reserved.
//

#import "ChildViewCell01.h"

@implementation ChildViewCell01

- (void)setModel:(ChildModel01 *)model {
    self.ChangeLabel.layer.cornerRadius = 4;
    self.ChangeLabel.layer.masksToBounds = YES;
    self.CellClassLabel.text = [NSString stringWithFormat:@"%@",model.pos_name];
    [self.POSImage sd_setImageWithURL:[NSURL URLWithString:model.pos_pic] placeholderImage:[UIImage imageNamed:@"MainZWImage"]];
    self.CellLabel01.text = [NSString stringWithFormat:@"%@",model.pos_yestody];
    self.CellLabel02.text = [NSString stringWithFormat:@"%@",model.pos_yestodyRefurn];
    self.CellLabel03.text = [NSString stringWithFormat:@"%@",model.pos_month];
    self.CellLabel04.text = [NSString stringWithFormat:@"%@",model.pos_monthRefurn];
    self.CodeLabel.text = [NSString stringWithFormat:@"%@",model.pos_id];
    self.SNLabel.text = [NSString stringWithFormat:@"POS SN：%@",model.pos_sn];
}


- (IBAction)ClickOnBtnToChangePOSType:(id)sender {
    [self.delegate ClickOnBtnToPushChangeControllerWithCellID:self.tag];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
